const webpack = require("webpack")
module.exports = {
      publicPath: process.env.NODE_ENV === 'production'
    ? '/mobile/'
    : '/',
      devServer: {
            proxy: {
                  "/index": {
                        target: "http://jie.fudai188.com",
                        change: true,
                        ws: true
                  }
            }
      },
      configureWebpack:{
            plugins:[
                  new webpack.ProvidePlugin({
                        $: "jquery",
                        jQuery: "jquery",
                        "window.jquery": "jquery",
                  })
            ]
      }
}